﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PH5_2004A.Shopping.Model
{
    /// <summary>
    /// 会员实体类
    /// </summary>
    [Table("shopping_tb_member")]
    public class MemberModel : AuditField<Guid>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }

        //性别
        public string? Sex { get; set; }
        
        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 密码（必须加密）
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 头像地址（可以是网络图片）
        /// </summary>
        public string? HeadImg { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public string? Birthday { get; set; }

        /// <summary>
        /// 所在城市
        /// </summary>
        public string? City { get; set; }

    }
}
